#uidesign > .ivu-modal-content > .ivu-modal-header {
  padding: 0 0 0 15px;
  height: 40px;
}
#uidesign > .ivu-modal-content > .ivu-modal-header > * {
  height: 40px;
  margin: 0 10px 0 0;
}

#uidesign > .ivu-modal-content > .ivu-modal-body {
  padding: 0;
  top: 40px;
}
#uidesign-layout {
  height: 100%;
}
#uidesign-layout > div.ivu-layout-sider.uidesign-layout-sider {
  background-color: white;
  border: 1px solid #ccc;
}
#uidesign .contextMenuItem {
  color: black;
  font-size: 13px;
  padding: 3px 10px;
}

#uidesign .contextMenuItem:hover {
  background-color: #f2f2f2;
}
#uidesign .uidesign-layout-content {
  overflow: hidden;
  background-color: #0005;
  position: relative;
  padding: 20px 0 0 20px;
}
#uidesign .layer-container {
  transform-origin: left top; /* 设置变换的原点在左上角 */
  transition: transform 0.15s ease;
  padding: 0;
  margin: 0;
  position: absolute;
  display: flex;
  gap: 10vw;
  flex-direction: row;
}
#uidesign .rootLayer {
  /* position: absolute; */
  min-width: 10px;
  min-height: 10px;
  background-color: white;
  overflow: hidden;
  flex: 0 0 auto;
  border: 1vw solid #0005;
  display: flex;
  flex-direction: column;
}
#uidesign .rootLayer.pointing {
  border: 1vw solid blue;
}
#uidesign .layer-container .selected {
  border: 1vw solid #b00000;
}
#uidesign-tools {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: calc(100% - 120px);
}
#uidesign-tools .toolItem {
  height: 40px;
  display: flex;
  align-items: center;
  margin-right: 5px;
  cursor: pointer;
}
#uidesign-tools .toolItem.ivu-btn {
  height: 32px;
  margin-top: 3px;
}
#uidesign .uidesign-ruler {
  position: absolute;
  background-color: white;
  margin: 0;
  padding: 0;
  color: black;
}

#uidesign .uidesign-ruler#uidesign-ruler-corner {
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  /* border-bottom: 1px #0005 solid;
  border-right: 1px #0005 solid; */
}
#uidesign .uidesign-ruler#uidesign-ruler-top {
  top: 0;
  left: 20px;
  width: 100%;
  border-bottom: 1px #0005 solid;
  height: 20px;
}
#uidesign .uidesign-ruler#uidesign-ruler-left {
  top: 20px;
  left: 0;
  width: 20px;
  height: 100%;
  border-right: 1px #0005 solid;
}
#uidesign .ui-element-list-item-tree-node {
  display: inline-block;
  width: 100%;
}
#uidesign .hideExpendIcon .expandIcon {
  transition: color 0.5s ease;
  color: #0000;
}
#uidesign .hideExpendIcon:hover .expandIcon {
  color: #0005;
}
#uidesign .typeIcon {
  color: #00000055;
}
#uidesign .selected .typeIcon {
  color: #000000ef;
}
#uidesign .ui-element-list-item {
  color: #000000ef;
}
#uidesign .layer-name {
  cursor: pointer;
  left: 0;
  top: -30px;
}
#uidesign .pointing .layer-name {
  color: blue;
}
#uidesign .elementEditor {
  display: flex;
  flex-direction: column;
}
#uidesign .elementEditor.defaultElementEditor {
}
#uidesign .elementEditor > div {
  display: flex;
  flex-direction: row;
}
#uidesign .elementEditor > div > * {
  height: 32px;
  margin-top: 15px;
}
#uidesign .elementEditor .propName {
  flex-wrap: nowrap;
  text-wrap: nowrap;
  font-size: 15px;
  line-height: 32px;
  vertical-align: middle;
  margin-left: 5px;
  margin-right: 5px;
}
